package com.beidouapp.service;

import java.util.List;
import java.util.Map;

import com.beidouapp.domain.pojo.ChinaData;
import com.beidouapp.domain.pojo.Engineer;
import com.beidouapp.domain.pojo.EngineerPos;
import com.beidouapp.domain.pojo.StatisData;


public interface EngineerService {
	//Type 0 表示省工程师数 1市工程师数 2省下面的项目数
	
	List<EngineerPos> getEngineerPosList();
	
	Map<String, Object> getDistributeTotal();
	
	 public List<Engineer> findEngineersByMap(Map<String, Object> params, Integer offset, Integer limit);
	 
	 public Integer findEngineersCountByMap(Map<String, Object> params);
	 
	 void saveOrUpdateEngineer(Engineer engineer);
	 
	 Engineer getEngineerById(Integer id);
	 
	 Map<String, Object> getEngineerDetailById(Integer id); 
	 
	 List<StatisData> findStatisDataListByMap(Map<String, Object> params, Integer offset, Integer limit);
	 
	 public Integer findStatisDataCountByMap(Map<String, Object> params);
	 
	 
	 List<StatisData> getStatisCityDataByMap(Map<String, Object> params, Integer offset, Integer limit);
	 
	 public Integer findStatisCityDataCountByMap(Map<String, Object> params);
	 
	 List<ChinaData> getChinaAllEngineerDataList();
}
